package com.niuwa.p2p.dao.customer;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.customer.CustSafetyProblem;

@MyBatisDao
public interface CustSafetyProblemDao {
    int insert(CustSafetyProblem record);

    int insertSelective(CustSafetyProblem record);
    
    /**
     * 获取用户设置的密保问题[web]
     * @param custId
     * @return
     */
    CustSafetyProblem selectSafetyProblemByCustId(long custId);
    
    /**
     * 更改用户密保问题[web]
     * @param record
     * @return
     */
    int updateCustSafetyProblem(CustSafetyProblem record);
}